import fkaxios from '../index'
export function getUserData(){
    return fkaxios.get({
        url:"/users/allUser"
    })
}

export function getOrderData(){
    return fkaxios.get({
        url:"/users/order"
    })
}

export function addAdmin(data){
    return fkaxios.post({
        url:"/users/addAdimin",
        data
    })
}

export function updateAdmin(data){
    return fkaxios.post({
        url:"/users/updateAdimin",
        data
    })
}

// 增加标签
export function addFoodLabel(data){
    return fkaxios.post({
        url:"/users/addFoodLabel",
        data
    })
}